package com.hejing.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * ClassName: Main8001
 * Package: com.hejing.cloud
 * Description:
 *
 * @Author: HeJing
 * @Create: 2024-04-23 22:46
 * @Version: 1.0
 */
@SpringBootApplication
// import tk.mybatis.spring.annotation.MapperScan
@MapperScan("com.hejing.cloud.mapper")
@EnableDiscoveryClient
@RefreshScope  // 动态刷新
public class Main8001 {

    public static void main(String[] args) {
        SpringApplication.run(Main8001.class, args);
    }
}




























